package com.qf.cm.service.impl;


import com.qf.cm.dao.ProjectDao;
import com.qf.cm.pojo.Project;
import com.qf.cm.service.ProjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class ProjectServiceImpl implements ProjectService {  //ctrl+o

    @Autowired
    private ProjectDao projectDao;

    public List<Project> findAll() {
        return projectDao.findProjects();
    }
}
